<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1">
<title>用户信息</title>
<link rel="stylesheet" href="/js/layui/css/layui.css" media="all">
<link rel="stylesheet" href="/js/layui/css/layui-global.css" media="all">
<link rel="stylesheet" href="/css/page/index.css">
<!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
<!--[if lt IE 9]>
          <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
          <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
</head>
<body class="layui-layout-body">
	<div class="layui-layout layui-layout-admin">
		<table id="userInfoTable" lay-filter="userInfoFilter"></table>
	</div>
	<script type="text/html" id="toolbarDemo">
        <div class="layui-btn-container">
            <button class="layui-btn layui-btn-sm" lay-event="add">新增</button>
            <button class="layui-btn layui-btn-sm" lay-event="update">修改</button>
            <button class="layui-btn layui-btn-sm" lay-event="delete">删除</button>
        </div>
	</script>
	<div id="userInfoEditPanel">
		<form class="layui-form">
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">员工姓名</label>
					<div class="layui-input-inline">
						<input type="text" name="realName" lay-verify=""
							autocomplete="off" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">员工身份证号码</label>
					<div class="layui-input-inline">
						<input type="text" name="cardId" lay-verify="userCard"
							autocomplete="off" class="layui-input">
					</div>
				</div>
			</div>
			
			<div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">登录用户</label>
                    <div class="layui-input-inline">
                        <input type="text" name="userName" lay-verify=""
                            autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">登录密码</label>
                    <div class="layui-input-inline">
                        <input type="password" name="passWord" lay-verify=""
                            autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>
            
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">所属角色</label>
                    <div class="layui-input-inline">
                        <select name="roleId" lay-filter="roleInfoFilter">
                            <option value=""></option>
                            <option value="1" selected="selected">馆长</option>
                        </select>
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">员工生日</label>
                    <div class="layui-input-inline">
                        <input type="text" name="userBirthDay" lay-verify="date"
                            autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>
            
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">员工电话</label>
                    <div class="layui-input-inline">
                        <input type="text" name="userPhone" lay-verify="required|phone"
                            autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">员工邮箱</label>
                    <div class="layui-input-inline">
                        <input type="text" name="userWorkEmail" lay-verify="email"
                            autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>
		</form>
	</div>
</body>
<script src="/js/layui/layui.js" type="text/javascript"></script>
<script type="text/javascript" src="/js/page/userManager.js"></script>
</html>